package com.yb.xczx.cloud.auth.util;

/**
 * Copyright (C), 2022-2023, 姚兵
 * Author: 32210
 * Date: 2023/5/18 14:58
 * FileName: ThreadLocalUtil
 * Description:
 */
public class ThreadLocalUtil {
    public static final ThreadLocal<Object> threadLocal=new ThreadLocal<>();

    public void set(String key,Object value){
        threadLocal.set(value);
    }

    public void remove(){
        threadLocal.remove();
    }
}
